.page{
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    height: 100vh; /* 确保容器占据整个视口的高度 */
}
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.module-card {
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.module-card:hover {
    background-color: #007bff;
    color: white;
}
.module-card:hover .card-title {
    background: linear-gradient(45deg, #ff6b6b, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s;
}
.sidebar {
    min-height: 100vh;
    background-color: #343a40;
    padding-top: 20px;
}
.sidebar a {
    color: white;
    display: block;
    padding: 15px;
    text-decoration: none;
}
.sidebar a:hover {
    background-color: #007bff;
    color: white;
}
.content {
    padding: 20px;
}
.nav-link {
    cursor: pointer;
}
.hidden {
    display: none;
}